/**
 *2d物体 
 * author:noodles
 */
package utils.effects.physics2D
{
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	
	public class Object2D extends Sprite implements ItimeInductor
	{
		private var _speedX:Number;//水平速度。单位：像素
		private var _speedY:Number;
		private var _kineticToInner:Number = 0.1;//碰撞时动能转换成内能的比例系数
		
		/**
		 * 
		 * @param $speed：速率.(单位：像素)
		 * @param angle：角度(单位：弧度。逆时针方向为正)
		 * 
		 */		
		public function Object2D($disObj:DisplayObject, $speed:Number=0, $angleRadians:Number=0)
		{
			super();
			_speedX = $speed * Math.sin($angleRadians);
			_speedY = $speed * Math.cos($angleRadians);
			this.addChild($disObj);
			
		}
		
		public function onTime():void
		{
			
		}
	}
}